package com.csun.cmny.provider.service.impl;

import com.csun.cmny.core.support.BaseService;
import com.csun.cmny.provider.mapper.NtOldmanMapper;
import com.csun.cmny.provider.model.domain.NtOldman;
import com.csun.cmny.provider.model.domain.OldMan;
import com.csun.cmny.provider.service.NtOldmanService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional
public class NtOldmanServiceImpl extends BaseService<NtOldman> implements NtOldmanService {
    @Resource
    private NtOldmanMapper ntOldmanMapper;

    @Override
    public OldMan selectById(int id) {
        return ntOldmanMapper.selectById(id);
    }
}
